<!DOCTYPE html>
<html lang="en">

<head>
    <meta charset="utf-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <title>Amaze UI Admin index Examples</title>
    <meta name="description" content="这是一个 index 页面">
    <meta name="keywords" content="index">
    <meta name="viewport" content="width=device-width, initial-scale=1">
    <meta name="renderer" content="webkit">
    <meta http-equiv="Cache-Control" content="no-siteapp" />
    <link rel="icon" type="image/png" href="/amazeui/assets/i/favicon.png">
    <link rel="apple-touch-icon-precomposed" href="/amazeui/assets/i/app-icon72x72@2x.png">
    <meta name="apple-mobile-web-app-title" content="Amaze UI" />
    <script src="/amazeui/assets/js/echarts.min.js"></script>
    <link rel="stylesheet" href="/amazeui/assets/css/amazeui.min.css" />
    <link rel="stylesheet" href="/amazeui/assets/css/amazeui.datatables.min.css" />
    <link rel="stylesheet" href="/amazeui/assets/css/app.css">
    <script src="/amazeui/assets/js/jquery.min.js"></script>
    <?php echo $__env->yieldContent('css'); ?>
    <meta name="csrf-token" content="<?php echo e(csrf_token()); ?>">
</head>

<body data-type="index">
<script src="/amazeui/assets/js/theme.js"></script>
<div class="am-g tpl-g">
    <!-- 头部 -->
    <header>
        <!-- logo -->
        <div class="am-fl tpl-header-logo">
            <a href="/admin"><img src="/amazeui/assets/img/logo.png" alt=""></a>
        </div>
        <!-- 右侧内容 -->
        <div class="tpl-header-fluid">
            <!-- 侧边切换 -->
            <div class="am-fl tpl-header-switch-button am-icon-list">
                    <span>

                </span>
            </div>
            <!-- 搜索 -->
            <div class="am-fl tpl-header-search">
                <form class="tpl-header-search-form" action="javascript:;">
                    <button class="tpl-header-search-btn am-icon-search"></button>
                    <input class="tpl-header-search-box" type="text" placeholder="搜索内容...">
                </form>
            </div>
            <!-- 其它功能-->
            <div class="am-fr tpl-header-navbar">
                <ul>
                    <!-- 欢迎语 -->
                    <li class="am-text-sm tpl-header-navbar-welcome">
                        <a href="javascript:;">欢迎你, <span><?php echo e(Auth::user()->name); ?> 管理员</span> </a>
                    </li>

                    <!-- 新邮件 -->
                    

                    <!-- 新提示 -->
                    

                    <!-- 退出 -->
                    <li class="am-text-sm">
                        <a href="<?php echo e(url('/admin/logout')); ?>" data-method="post" data-token="<?php echo e(csrf_token()); ?>">
                            <span class="am-icon-sign-out"></span> 退出
                        </a>
                    </li>
                </ul>
            </div>
        </div>

    </header>
    <!-- 风格切换 -->
    <div class="tpl-skiner">
        <div class="tpl-skiner-toggle am-icon-cog">
        </div>
        <div class="tpl-skiner-content">
            <div class="tpl-skiner-content-title">
                选择主题
            </div>
            <div class="tpl-skiner-content-bar">
                <span class="skiner-color skiner-white" data-color="theme-white"></span>
                <span class="skiner-color skiner-black" data-color="theme-black"></span>
            </div>
        </div>
    </div>
    <!-- 侧边导航栏 -->
    <?php echo $__env->make("admin.layouts._menu", array_except(get_defined_vars(), array('__data', '__path')))->render(); ?>


    <!-- 内容区域 -->
    <?php echo $__env->yieldContent('content'); ?>
</div>
</div>
<script src="/amazeui/assets/js/amazeui.min.js"></script>
<script src="/amazeui/assets/js/amazeui.datatables.min.js"></script>
<script src="/amazeui/assets/js/dataTables.responsive.min.js"></script>
<script src="/amazeui/assets/js/app.js"></script>

<script src="/js/laravel.js"></script>

<script type="text/javascript">
    $.ajaxSetup({
        headers: {
            'X-CSRF-TOKEN': $('meta[name="csrf-token"]').attr('content')
        }
    });

</script>

<?php echo $__env->yieldContent('js'); ?>

</body>

</html>